package com.example.home_app.base.Onenet_online

/**
 * Created by dell on 2021/8/10.
 */
class Devices {
    private var title: String? = null
    private var online = false
    private var id: String? = null
    fun setTitle(title: String?) {
        this.title = title
    }

    fun getTitle(): String? {
        return title
    }

    fun setOnline(online: Boolean) {
        this.online = online
    }

    fun getOnline(): Boolean {
        return online
    }

    fun setId(id: String?) {
        this.id = id
    }

    fun getId(): String? {
        return id
    }

    override fun toString(): String {
        return "Devices{" +
                "title='" + title + '\'' +
                ", online=" + online +
                ", id='" + id + '\'' +
                '}'
    }
}